package com.cabms.domain;

public class PersonalSituation {
	//有无现户籍
	private Boolean isXianHuJi;

	/*
	 * 男方身份类别
	 * 0 -> 内地居民
	 * 1 -> 军人
	 * 2 -> 华侨或出国人员
	 * 3 -> 港澳台居民
	 * 4 -> 外国人
	 */
	private Integer shengFenLeiBie_Nan;
	
	/*
	 * 女方身份类别
	 * 0 -> 内地居民
	 * 1 -> 军人
	 * 2 -> 华侨或出国人员
	 * 3 -> 港澳台居民
	 * 4 -> 外国人
	 */
	private Integer shengFenLeiBie_Nv;

	public Boolean isXianHuJi() {
		return isXianHuJi;
	}

	public void setXianHuJi(boolean isXianHuJi) {
		this.isXianHuJi = isXianHuJi;
	}

	public Integer getShengFenLeiBie_Nan() {
		return shengFenLeiBie_Nan;
	}

	public void setShengFenLeiBie_Nan(int shengFenLeiBie_Nan) {
		this.shengFenLeiBie_Nan = shengFenLeiBie_Nan;
	}

	public Integer getShengFenLeiBie_Nv() {
		return shengFenLeiBie_Nv;
	}

	public void setShengFenLeiBie_Nv(int shengFenLeiBie_Nv) {
		this.shengFenLeiBie_Nv = shengFenLeiBie_Nv;
	}

	public PersonalSituation(boolean isXianHuJi, int shengFenLeiBie_Nan, int shengFenLeiBie_Nv) {
		super();
		this.isXianHuJi = isXianHuJi;
		this.shengFenLeiBie_Nan = shengFenLeiBie_Nan;
		this.shengFenLeiBie_Nv = shengFenLeiBie_Nv;
	}

	public PersonalSituation() {
		super();
	}
	
	public boolean isOK() {
		if (isXianHuJi == null) return false;
		if (shengFenLeiBie_Nan == null) return false;
		if (shengFenLeiBie_Nv == null) return false;
		return true;
	}
}
